<?php
    require "sql.php";
    $filename='test';
    $username='zhonger';
    $data = array(
        array(
            'code'=>0
        ),
        array(
            'code'=>1
        )
    );
    $str1="delete from file where file_name = '".$filename."' and author = '".$username."'";
 $conn->query($str1);
echo mysqli_num_rows() ;
//echo $conn->send_query($str1);
/*
if($conn->query($str1)!==false){
        echo json_encode($data[0]);
    }else{
        echo json_encode($data[1]);
    }
    $conn->close();*/